package com.superboboge;

import java.util.List;

public class SpecificationUtil {

    public static void buildQueryParams(BaseParam baseParm){
    }

    public static void main(String[] args) throws NoSuchFieldException, IllegalAccessException {
        UserParam userParam = new UserParam();
        userParam.setName("123213");
        SpecificationUtil.buildQueryParams(userParam);

        for (String[] a:BReflectionUtils.getFields(userParam.getClass())) {
            System.out.println(BReflectionUtils.getValueByFieldName(userParam,a[2]));
        }
    }

}
